﻿using System.Windows.Controls;

namespace SvgViewer.Entities
{
    /// <summary>
    /// VirtualizingStackPanel 扩展
    /// </summary>
    public class VirtualizingStackPanelEx : VirtualizingStackPanel
    {
        /// <summary>
        /// 将指定索引对应的项可见
        /// </summary>
        /// <param name="index">索引</param>
        public void BringIntoView(int index)
        {
            this.BringIndexIntoView(index);
        }
    }
}
